package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.OrderStatusEnum;
import com.sc.nft.enums.PayStatusEnum;
import com.sc.nft.enums.WantBuyOrderStatusEnum;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 卷轴商店求购表(sc_scroll_want_buy)实体类
 *
 * @author zxy
 * @since 2024-09-04 02:15:00
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_scroll_want_buy")
public class ScrollWantBuy extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 店主Id
     */
    private Long shopUserId;
    /**
     * 店铺id
     */
    private Long shopId;
    /**
     * 订单号
     */
    private String OrderNo;
    /**
     * 求购数量
     */
    private Integer wantBuyCount;
    /**
     * 已购数量
     */
    private Integer buyCount;
    /**
     * 单价
     */
    private BigDecimal unitPrice;
    /**
     * 总价
     */
    private BigDecimal sumPrice;
    /**
     * 花费价格
     */
    private BigDecimal costPrice;
    /**
     * 剩余价格
     */
    private BigDecimal surplusPrice;
    /**
     * 退回金额
     */
    private BigDecimal refundAmount;
    /**
     * 状态
     */
    private WantBuyOrderStatusEnum status;

}